package com.tanhua.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
//@TableName(value = "tb_user")
public class User extends BasePojo implements Serializable {

    @TableId(type = IdType.AUTO)//自增长，每次+1
    private Long id;
    private String mobile;
    private String password;


    //这个要到第六章才学得到
    private String hxUser;
    private String hxPassword;

}
